import userAvatar from '@/assets/default/userAvatar.jpg';

// 评论数据
export const commentData = [
  {
    id: "1",
    content: "这篇文章写得很好，收获很多！",
    createTime: "2024-01-15 10:30:00",
    likes: 15,
    author: {
      id: "user1",
      nickname: "技术达人",
      avatar: userAvatar,
      schoolName: "软件工程大学"
    },
    replies: [
      {
        id: "1-1",
        content: "同感，特别是关于技术架构的部分讲得很清楚",
        createTime: "2024-01-15 10:35:00",
        likes: 8,
        author: {
          id: "user2",
          nickname: "代码小能手",
          avatar: userAvatar,
          schoolName: "计算机科学大学"
        },
        replyTo: {
          id: "user1",
          nickname: "技术达人"
        }
      }
    ]
  },
  {
    id: "2",
    content: "这个解决方案很实用，我在项目中也遇到类似的问题",
    createTime: "2024-01-15 11:00:00",
    likes: 12,
    author: {
      id: "user3",
      nickname: "程序猿A",
      avatar: userAvatar,
      schoolName: "软件工程大学"
    },
    replies: []
  },
  {
    id: "3",
    content: "文章的观点很新颖，给了我很多启发",
    createTime: "2024-01-15 11:30:00",
    likes: 20,
    author: {
      id: "user4",
      nickname: "架构师B",
      avatar: userAvatar,
      schoolName: "计算机科学大学"
    },
    replies: [
      {
        id: "3-1",
        content: "确实，特别是关于性能优化的建议很有价值",
        createTime: "2024-01-15 11:35:00",
        likes: 6,
        author: {
          id: "user5",
          nickname: "全栈工程师",
          avatar: userAvatar,
          schoolName: "软件工程大学"
        },
        replyTo: {
          id: "user4",
          nickname: "架构师B"
        }
      }
    ]
  }
];
